package com.guangfeng.yql.bean.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.guangfeng.yql.comm.bean.BaseBean;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 角色权限关联表
 * </p>
 *
 * @author yql
 * @since 2022-09-21
 */
@Data
//@Accessors(chain = true)
/**
* rootPermission
*/
@TableName("root_permission")
@ApiModel(value = "RootPermissionPo对象", description = "角色权限关联表")
public class RootPermissionPo extends BaseBean implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("权限id")
    @TableField("pid")
    private Long pid;

    @ApiModelProperty("角色id")
    @TableField("rid")
    private Long rid;


}
